package com.yy.school.pojo;

import java.util.Date;

public class Leave {
    private Integer lid;
    private String title;
    private String content;
    private Integer sid;
    private Integer tid;
    private String status;
    private Date beginDate;
    private Date endDate;

    public Leave() {
    }

    public Leave(Integer lid, String title, String content, Integer sid, Integer tid, String status, Date beginDate, Date endDate) {
        this.lid = lid;
        this.title = title;
        this.content = content;
        this.sid = sid;
        this.tid = tid;
        this.status = status;
        this.beginDate = beginDate;
        this.endDate = endDate;
    }

    public Integer getLid() {
        return lid;
    }

    public void setLid(Integer lid) {
        this.lid = lid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getBeginDate() {
        return beginDate;
    }

    public void setBeginDate(Date beginDate) {
        this.beginDate = beginDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    @Override
    public String toString() {
        return "Leave{" +
                "lid=" + lid +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", sid=" + sid +
                ", tid=" + tid +
                ", status='" + status + '\'' +
                ", beginDate=" + beginDate +
                ", endDate=" + endDate +
                '}';
    }
}
